package com.itheima.service;

import com.itheima.common.entity.PageResult;
import com.itheima.common.entity.QueryPageBean;
import com.itheima.pojo.dto.SetmealDTO;
import com.itheima.pojo.entity.Setmeal;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface SetmealService {
    void addSetmeal(SetmealDTO setmealDTO);

    void editSetmeal(Setmeal setmeal);

    Setmeal findByIdSetmeal(String id);

    PageResult findPageSetmeal(QueryPageBean queryPageBean);

    String uploadSetmeal(MultipartFile file) throws IOException;

    List<Setmeal> getSetmeal();

    Setmeal findById(String id);
}
